package com.gsdkjgpt4.sys.service;

import com.gsdkjgpt4.sys.entity.History;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rendong
 * @since 2024-01-18
 */
public interface IHistoryService extends IService<History> {
    Map<String, Object> selectHistoryByUserId(Integer userId);

    Map<String, Object> generateHistory(Integer isChatgpt, String context, Integer userId);

    Map<String, Object> send();
}
